n=eval(input())
if n==0:
    print("average = 0.0")
    print("count = 0")
    exit(0)
s=input().split(' ')
count=0
sum=0

for i in s:
    x=int(i)
    if x>=60:
        count+=1
    sum+=x
print("average = %.1f"%(sum/n))
print("count =",count)